﻿<%@ Page Language="C#" AutoEventWireup="false" Inherits="Web.BasePage"%>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="Web.Controller" %>
<%@ Import Namespace="Domain.Entities" %>
<%@ Import Namespace="MAF.Common" %>


<% 
    // 此文件由Company模块专用
    PageInfo page;
    ArticleHandler h = new ArticleHandler();
    IList<ArticleInfo> list = new List<ArticleInfo>();
    switch (Action)
    {
        case "About" :
            list = h.Index(new Guid("00000000-0000-0000-0000-000000000001"));
            break;
        case "HR" :
            list = h.Index(new Guid("00000000-0000-0000-0000-000000000002"));
            break;
        case "Service" :
            list = h.Index(new Guid("00000000-0000-0000-0000-000000000003"));
            break;
        case "Contact" :
            list = h.Index(new Guid("00000000-0000-0000-0000-000000000004"));
            break;
    }

    foreach (ArticleInfo info in list)
    {
%>
    <li>
        <a href="Default.aspx?Module=<%=Module %>&Handler=Article&Action=<%=Action %>&Id=<%=info.Id %>"><%= info.Name %></a>
    </li>
<% 
    }
%>
